<template>
	<view class="padd-left-right">
		<view class="query-flex">
			<u-field v-model="inputForm.name" label="申请人员:" label-width="150" placeholder="请输入申请人员" required :error-message="errorMessage"></u-field>
			<u-field v-model="inputForm.reason" label="申请原因:" label-width="150" placeholder="请输入申请原因" required :error-message="errorMessage"></u-field>
			<u-field v-model="inputForm.time" label="期望日期:" label-width="150" placeholder="请输入期望日期" required :error-message="errorMessage"></u-field>
			<u-form :model="inputForm" ref="uForm">
				<u-form-item label="是否快递:" label-width="150rpx">
					<u-switch v-model="inputForm.checked" active-color="#19be6b"></u-switch>
				</u-form-item>
			</u-form>
			<u-field v-model="inputForm.addressee" label="收件人:" label-width="150" placeholder="请输入收件人" required :error-message="errorMessage"></u-field>
			<u-field v-model="inputForm.contact" label="联系方式:" label-width="150" placeholder="请输入联系方式" required :error-message="errorMessage"></u-field>
			<u-field v-model="inputForm.contactaddress" label="联系地址:" label-width="150" placeholder="请输入联系地址" required
			 :error-message="errorMessage"></u-field>
		</view>

		<!-- 按钮 -->
		<view class="button-con">
			<view class="button-return">
				<view class="button">提交</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				inputForm: {
					name: '',
					reason: '',
					time: '',
					checked: true,
					addressee: '',
					contact: '',
					contactaddress: '',
				}
			}
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
</style>
